<?php
class SiteConfig {
	public function getItemValue($itemName) {
		global $db;
		$sql = "select itemvalue from qa_siteconfig where itemname='$itemName'";
		$rs = $db->get_one($sql);
		if ($rs) {
			return $rs['itemvalue'];
		}
		return "";
	}
}
?>